<?php

/**
 * Description of ECOMResult
 * This Class Handle API output results
 * @author  @author Rakesh Srivastava
 */
class ECOMResult {

    var $code;
    var $message;
    var $isDisplayToUser;
    var $shouldRetry;
    var $retryAfterSeconds;

    public function __construct($code, $message, $isDisplayToUser=true, $shouldRetry=true, $retryAfterSeconds='') {
        $this->code = $code;
        $this->message = $message;
        $this->isDisplayToUser = $isDisplayToUser;
        $this->shouldRetry = $shouldRetry;
        $this->retryAfterSeconds = $retryAfterSeconds;
    }

}

?>
